package com.yazi.mxz.common.db.dao;

import com.yazi.mxz.common.entity.beans.Shopping;

import com.myframework.smhj.hibernate.dao.Dao;

public interface ShoppingDao extends Dao<Shopping>{
	
	/**
	 * 批量删除购物车物品
	 * @param shoppingIds
	 */
	void deleteByIds(long[] shoppingIds);
	
	/**
	 * 删除用户的购物车物品
	 * @param memberId
	 * @param shoppingIds
	 */
	void deleteByIds(long memberId, Long[] shoppingIds);
	
}
